package com.nuoniu.sibanyun.entity.cm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合同条款
 * </p>
 *
 * @author 小啊刚
 * @since 2021-10-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cm_contract_clause")
@ApiModel(value="CmContractClause对象", description="合同条款")
public class CmContractClause extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "合同id")
    @TableField("contract_id")
    private Integer contractId;

    @ApiModelProperty(value = "条款编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "条款名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "条款内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "类型")
    @TableField("type")
    private Boolean type;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "变更id")
    @TableField("change_id")
    private Integer changeId;

    @ApiModelProperty(value = "搜索关键字")
    @TableField(exist = false)
    private String searchKey;
}
